// person_node.hpp
#ifndef DEMO_CPP_PKG__PERSON_NODE_HPP_
#define DEMO_CPP_PKG__PERSON_NODE_HPP_

#include <string>
#include "rclcpp/rclcpp.hpp"

class PersonNode : public rclcpp::Node
{
private:
    std::string name_;
    int age_;

public:
    PersonNode(const std::string &node_name, const std::string &name, const int &age);
    void eat(const std::string &food_name);
};

#endif  // DEMO_CPP_PKG__PERSON_NODE_HPP_